<%--
  Created by IntelliJ IDEA.
  User: 22263
  Date: 2024/7/9
  Time: 下午4:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <link rel="icon" href="static/img/favicon.ico" type="image/x-icon"/>
    <meta charset="UTF-8">
    <title>登录</title>
    <style>
        body {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            background-image: url("static/img/背景2.jpg");
            background-size: cover; /* 图片大小适应屏幕 */
            background-position: center; /* 图片位置居中 */
            background-repeat: no-repeat; /* 不重复平铺 */
        }
        form{
            text-align: center;
            width: 300px;
            height: 150px;
            margin: 0 auto;
            padding: 20px;
            background-color: rgba(255, 255, 255, 0.8);
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        }
    </style>
</head>
<body>
<form action="UserServlet?sc=login" method="post">
    <!-- hidden-->
    <!--id 和name不一样-->
    <label for="username2">用户名</label>
    <input tpye="text" name="username" id="username2"><br>

    <label for="password">密码 </label>
    <input type="password" name="password" id="password"><br>

    <input type="submit" value="登录">
    <input type="reset" value="重置">
    <a href="index.jsp">
        <input type="button" value="注册">
    </a>
</form>
<br><hr>
</body>
</html>
